﻿using SqlSugar;
using System;

namespace IconYuan.Model.Entity.Products
{
    /// <summary>
    /// 商品图片
    /// </summary>
    [SugarTable("t_goods_image")]
    public class GoodsImage
    {
        /// <summary>
        /// 自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] //是主键, 还是标识列
        public int id { get; set; }
        /// <summary>
        /// 	商品ID
        /// </summary>
        public int goods_id { get; set; }
        /// <summary>
        /// 图片id(关联文件记录表)
        /// </summary>
        public int image_id { get; set; }
        /// <summary>
        /// 图片相对路径
        /// </summary>
        public string image_path { get; set; }
        /// <summary>
        /// 商城ID
        /// </summary>
        public int store_id { get; set; }
        public DateTime create_time { get; set; }
    }
}
